package com.tanhua.dubbo.server.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "logs_user")
public class Managelogs implements Serializable {

    private static final long serialVersionUID = 873233223082804771L;

    @Id
    private ObjectId  id;
    private Integer type;
    private Long userId;
    /**
     * 日志信息
     */
    private String message;

    private Long logTime;
    /**
     * 登录设备
     */
    private String equipment;

    /**
     * 登录地点
     */
    private String place;

}
